package com.smart.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smart.common.annotation.Excel;
import com.smart.common.core.domain.BaseEntity;

/**
 * 就诊人问诊信息对象 tb_patients_consultation
 * 
 * @author lingyao
 * @date 2025-02-19
 */
public class TbPatientsConsultation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问诊ID，问诊记录唯一标识符 */
    private Long id;

    /** 关联就诊人的ID */
    @Excel(name = "关联就诊人的ID")
    private Long patientsId;

    /** 关联的医生就诊ID */
    @Excel(name = "关联的医生就诊ID")
    private Long doctorConsultationId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** 病情描述 */
    @Excel(name = "病情描述")
    private String chiefComplaint;

    /** 附加的图片或视频信息（存储为JSON格式，包含媒体类型和URL） */
    @Excel(name = "附加的图片或视频信息", readConverterExp = "存=储为JSON格式，包含媒体类型和URL")
    private String supplementaryMedia;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPatientsId(Long patientsId) 
    {
        this.patientsId = patientsId;
    }

    public Long getPatientsId() 
    {
        return patientsId;
    }
    public void setDoctorConsultationId(Long doctorConsultationId) 
    {
        this.doctorConsultationId = doctorConsultationId;
    }

    public Long getDoctorConsultationId() 
    {
        return doctorConsultationId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setChiefComplaint(String chiefComplaint) 
    {
        this.chiefComplaint = chiefComplaint;
    }

    public String getChiefComplaint() 
    {
        return chiefComplaint;
    }
    public void setSupplementaryMedia(String supplementaryMedia) 
    {
        this.supplementaryMedia = supplementaryMedia;
    }

    public String getSupplementaryMedia() 
    {
        return supplementaryMedia;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("patientsId", getPatientsId())
            .append("doctorConsultationId", getDoctorConsultationId())
            .append("userId", getUserId())
            .append("chiefComplaint", getChiefComplaint())
            .append("supplementaryMedia", getSupplementaryMedia())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
